]> dgit.raspbian.org Git - gnome-shell.git/commit
closeDialog: Untrack chrome when window loses focus
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 4 Sep 2018 11:53:24 +0000 (13:53 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 8 Oct 2018 16:03:53 +0000 (16:03 +0000)
commit71906660751a8063cf14d5d3cef347714fefab9e
tree403b9ba1bb7dee6d119f0513bd1d138966b42d94
parente2f6a1980d661c27c0d0738b361a7a8dfe4f5074
closeDialog: Untrack chrome when window loses focus

On X11, reactive chrome must be added to the input region in order
to work as expected. However that region works independently from
any window stacking, with the result that the unresponsive-app dialog
currently blocks all input in the "covered" area, even in windows
stacked above the unresponsive window.

The correct fix would be to track the unobscured parts of the dialog
and set the input region from that, but that's quite cumbersome. So
instead, only track chrome when the corresponding window is focused
(or the dialog itself of course).

https://gitlab.gnome.org/GNOME/gnome-shell/issues/273
js/ui/closeDialog.js